package com.zzzzzz.account.model;

import java.util.Date;

import com.zzzzzz.account.model.User;

public class SignupForm {

    private String username;

    private String email;

    private String password;

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public void updatePo(User user){
		user.setEmail(getEmail());
		user.setPassword(getPassword());
		user.setUsername(getUsername());
		Date now = new Date();
		user.setCreateDate(now);
	}
	
}
